package com.zbkj.crmeb.chant.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 渠道商品参数
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ChannelProductRequest对象", description="渠道商品参数")
public class ChannelProductRequest implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 渠道id
     * 默认天猫渠道为1
     */
    @ApiModelProperty(value = "渠道id")
    private Integer channelId ;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String storeName;

    /**
     * 分类id
     */
    @ApiModelProperty(value = "分类id")
    private String cateId;

    /**
     * 品牌ID
     */
    @ApiModelProperty(value = "品牌ID")
    private Integer brandId;

    /**
     * 供应商id：
     * 2是易时尚
     * 37, 136 是创蓝
     * 42是Muse
     * 21是巴黎春天
     */
    @ApiModelProperty(value = "供应商id")
    private String suppliersId;

    /**
     * 运费模板ID (发货地)
     */
    @ApiModelProperty(value = "运费模板ID")
    private Integer tempId;

    /**
     * 是否推送
     */
    @ApiModelProperty(value = "是否推送")
    private Integer pushFlag;

    /**
     * 建议推送
     */
    @ApiModelProperty(value = "建议推送")
    private Boolean proPushFlag;
    
    /**
     * 是否天猫可推送商品
     */
    @ApiModelProperty(value = "是否天猫可推送商品")
    private Boolean tmall;

    /**
     * 渠道 - 默认加价率
     */
    private BigDecimal channelMarkupRate = new BigDecimal(0);

    @ApiModelProperty(value = "最小库存")
    private Integer minStock;
    @ApiModelProperty(value = "最大库存")
    private Integer maxStock;
    @ApiModelProperty(value = "最小价格")
    private Integer minPrice;
    @ApiModelProperty(value = "最大价格")
    private Integer maxPrice;

    @ApiModelProperty(value = "最大价格")
    private Integer is_del;

    @ApiModelProperty(value = "品牌IDs")
    private List<String> brandIdList;

    @ApiModelProperty(value = "供应商列表")
    private List<String> suppliersIdList;

    @ApiModelProperty(value = "可发货地")
    private List<String> tempIdList;

}
